/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package data.DAO.services;

import java.sql.Date;
import java.util.List;
import model.entity.Comment;
import model.entity.Image;
import model.entity.Post;

/**
 *
 * @author ninkuhack
 */
public interface PostDAOServices {

    public boolean createPost(Post post);

    public boolean editPost(Post post);

    public boolean deletePost(int post_id);

    public boolean setStatusPost(int post_id, int status);

    public List<Post> getAllPost();

    public List<Post> getPostByUserId(int user_id);

    public List<Post> getPostByCreatedDate(Date created_date);

    public List<Post> getPostByCity(String city);

    public List<Post> getPostByStatus(int status);

    public List<Post> getPostByAddress(String address);

    public List<Post> getPostByVoteDesc(int vote);
    
    public Post getPostByID(int post_id);

}
